include:
  - dev.create_directory
  - dev.backup_lib_conf
  - dev.config_check
    
step_by_step:
  cmd.run:
    - name: |
        echo "---------------------------------------------------------------------------------"
        echo "Start to backup work"
        echo "---------------------------------------------------------------------------------"
    - require:
      - file: create_conf_dir
      - file: create_lib_dir
      - file: create_dependency_dir
      - cmd: backup_lib
      - cmd: backup_conf
      - cmd: config_check
